home *** CD-ROM | disk | FTP | other *** search
-
-
-
- FSMAKEDEV User Commands FSMAKEDEV
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- fsmakedev - Create a device file
-
- SSYYNNOOPPSSIISS
- ffssmmaakkeeddeevv [--ss _s_e_r_v_e_r_I_D] [--dd _d_e_v_T_y_p_e] [--uu _u_n_i_t] [--pp _m_o_d_e]
- name
-
- OOPPTTIIOONNSS
- --ss _s_e_r_v_e_r_I_D The serverID is needed for devices attached to
- a particular host. If not specified then the
- device created is a _c_o_m_m_o_n device found on all
- hosts and the local instance of the device is
- used. The serverID is a numeric hostID, not a
- name.
-
- --dd _d_e_v_T_y_p_e This specifies the type of the device. This
- is a numeric value found in
- /sprite/src/kernel/dev/*.md/devTypesInt.h
-
- --uu _u_n_i_t The unit number of the device.
-
- --pp _m_o_d_e This specifies the permission bits of the dev-
- ice file.
-
- _n_a_m_e This is the name of the device.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- Fsmakedev creates a special device file that is a place-
- holder for a peripheral device. The device file indicates
- the device type and a unit number. It also indicates the
- location of the device. In Sprite devices are either _c_o_m_-
- _m_o_n, which means that all hosts have them, or they are
- specific to a particular host. When a common device is
- opened then the device attached to the local host is used.
- Otherwise the serverID in the device file indicates where
- the device is. The default is for a common device file to
- be created. Use the --ss option to specific the serverID for
- devices attached to a particular host. By convention common
- devices are found in the /dev directory, and specific dev-
- ices are in the /hosts/_h_o_s_t_n_a_m_e/dev directory.
-
- BBUUGGSS
- The device type is a magic number found in the
- /sprite/src/kernel/dev/*.md/devTypesInt.h file. The ser-
- verID is a numeric hostID, not a hostname.
-
- SSEEEE AALLSSOO
- fsmakenetdev
-
-
-
-
- Sprite v.1.0 Printed: August 26, 1992 1
-
-
-
-
-
-
- FSMAKEDEV User Commands FSMAKEDEV
-
-
-
- KKEEYYWWOORRDDSS
- device
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: August 26, 1992 2
-
-
-
-